var Mock = require('mockjs');

exports.response = function(req, res) {
  return Mock.mock({
    "msg": "OK",
    "code": 0,
    "data": [
        {
            "date": "2018-01-10",
            "jobName": "waibao-thfx-allocation",
            "failDetail": "org.springframework.mail.MailSendException: Failed messages",
            "jobResult": "Fail",
            "startTime": "2018-01-10 10:40:00.0",
            "endTime": "2018-01-10 10:40:00.0",
            "shardingItem": "160.9.231.241-0"
        },
        {
            "date": "2018-01-10",
            "jobName": "waibao-thfx-allocation",
            "failDetail": "org.springframework.mail.MailSendException: Failed messages",
            "jobResult": "Fail",
            "startTime": "2018-01-10 10:40:40.0",
            "endTime": "2018-01-10 10:40:40.0",
            "shardingItem": "160.9.231.241-0"
        },
        {
            "date": "2018-01-10",
            "jobName": "waibao-thfx-allocation",
            "failDetail": "org.springframework.mail.MailSendException: Failed messages",
            "jobResult": "Fail",
            "startTime": "2018-01-10 10:50:00.0",
            "endTime": "2018-01-10 10:50:00.0",
            "shardingItem": "160.9.231.241-0"
        },
        {
            "date": "2018-01-10",
            "jobName": "waibao-thfx-allocation",
            "failDetail": "org.springframework.mail.MailSendException: Failed messages",
            "jobResult": "Fail",
            "startTime": "2018-01-10 13:42:48.0",
            "endTime": "2018-01-10 13:43:09.0",
            "shardingItem": "160.9.231.241-0"
        },
        {
            "date": "2018-01-10",
            "jobName": "waibao-thfx-allocation",
            "failDetail": "org.springframework.mail.MailSendException: Failed messages",
            "jobResult": "Fail",
            "startTime": "2018-01-10 16:34:48.0",
            "endTime": "2018-01-10 16:34:49.0",
            "shardingItem": "160.9.231.241-0"
        },
        {
            "date": "2018-01-10",
            "jobName": "tggz-thfx-allocation",
            "failDetail": "org.springframework.mail.MailSendException: Failed messages",
            "jobResult": "Fail",
            "startTime": "2018-01-10 21:00:00.0",
            "endTime": "2018-01-10 21:00:00.0",
            "shardingItem": "168.61.9.132-0"
        },
        {
            "date": "2018-01-10",
            "jobName": "ZXJob",
            "failDetail": "org.springframework.mail.MailSendException: Failed messages",
            "jobResult": "Fail",
            "startTime": "2018-01-10 23:30:00.0",
            "endTime": "2018-01-10 23:30:00.0",
            "shardingItem": "168.61.9.132-0"
        },
        {
            "date": "2018-01-11",
            "jobName": "waibao-thfx-allocation",
            "failDetail": "org.springframework.mail.MailSendException: Failed messages",
            "jobResult": "Fail",
            "startTime": "2018-01-11 01:00:00.0",
            "endTime": "2018-01-11 01:00:00.0",
            "shardingItem": "168.61.9.132-0"
        },
        {
            "date": "2018-01-11",
            "jobName": "checkHoldingJob",
            "failDetail": "org.springframework.mail.MailSendException: Failed messages",
            "jobResult": "Fail",
            "startTime": "2018-01-11 01:00:00.0",
            "endTime": "2018-01-11 01:00:01.0",
            "shardingItem": "168.61.9.132-2"
        },
        {
            "date": "2018-01-11",
            "jobName": "checkHoldingJob",
            "failDetail": "org.springframework.mail.MailSendException: Failed messages",
            "jobResult": "Fail",
            "startTime": "2018-01-11 01:00:00.0",
            "endTime": "2018-01-11 01:00:01.0",
            "shardingItem": "168.61.9.132-0"
        },
        {
            "date": "2018-01-11",
            "jobName": "checkHoldingJob",
          "failDetail": "org.springframework.mail.MailSendException: Failed messages",
            "jobResult": "Fail",
            "startTime": "2018-01-11 01:00:00.0",
            "endTime": "2018-01-11 01:00:01.0",
            "shardingItem": "168.61.9.132-1"
        },
        {
            "date": "2018-01-11",
            "jobName": "waibao-thfx-allocation",
            "failDetail": "org.springframework.mail.MailSendException: Failed messages",
            "jobResult": "Fail",
            "startTime": "2018-01-11 10:08:00.0",
            "endTime": "2018-01-11 10:08:00.0",
            "shardingItem": "160.9.231.241-0"
        },
        {
            "date": "2018-01-11",
            "jobName": "waibao-thfx-allocation",
            "failDetail": "org.springframework.mail.MailSendException: Failed messages",
            "jobResult": "Fail",
            "startTime": "2018-01-11 10:54:00.0",
            "endTime": "2018-01-11 10:54:00.0",
            "shardingItem": "160.9.231.241-0"
        },
        {
            "date": "2018-01-11",
            "jobName": "waibao-thfx-allocation",
            "failDetail": "org.springframework.mail.MailSendException: Failed messages",
            "jobResult": "Fail",
            "startTime": "2018-01-11 10:56:00.0",
            "endTime": "2018-01-11 10:56:00.0",
            "shardingItem": "160.9.231.241-0"
        },
        {
            "date": "2018-01-11",
            "jobName": "waibao-thfx-allocation",
            "failDetail": "org.springframework.mail.MailSendException: Failed messages",
            "jobResult": "Fail",
            "startTime": "2018-01-11 10:58:00.0",
            "endTime": "2018-01-11 10:59:08.0",
            "shardingItem": "160.9.231.241-0"
        }
    ],
    "page": {
        "pagesize": 15,
        "currentpage": 1,
        "totalpage": 14,
        "totalnum": 196
    }
})
}
